<template>
  <div class="container">
    <div class="container_swiper">
      <swiper
        :slides-per-view="3"
        :space-between="50"
        @swiper="onSwiper"
        @slideChange="onSlideChange"
      >
        <swiper-slide>Slide 1</swiper-slide>
        <swiper-slide>Slide 2</swiper-slide>
        <swiper-slide>Slide 3</swiper-slide>
        ...
      </swiper>
    </div>
  </div>
</template>
<script>
// import { Swiper, SwiperSlide } from 'swiper/vue';
// import 'swiper/swiper.scss';
export default {
  name: 'LayoutContainer',
  components: {
    // Swiper,
    // SwiperSlide
  },
  data() {
    return {};
  },
  methods: {
    onSwiper(swiper) {
      console.log(swiper);
    },
    onSlideChange() {
      console.log('slide change');
    }
  }
};
</script>
<style>
/* @import "swiper/dist/css/swiper.css"; */
  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 200px;
    margin: 0;
  }

  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }

  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }
</style>
